package cn.south.campus.admin.campus.model.entity;

import cn.south.campus.common.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author chow
 * @since 2024-11-13
 */
@EqualsAndHashCode(callSuper = true)
@TableName("campus_user")
@Data
public class User extends BaseEntity {

    /**
     * 密码
     */
    private String password;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 学生认证状态
     */
    @TableField(exist = false)
    private int studentStatus;
}
